﻿using AnlianCommon.Common.DTO;
using MediatR;

namespace SheepCommon.API.SheepCommands
{
    public class SheepArchivesQueryCommand : IRequest<ResultPage<SheepArchivesQueryDto>>
    {
        /// <summary>
        /// 可视耳号
        /// </summary>
        public string? RecordAuricle { get; set; }
        /// <summary>
        /// 电子耳号
        /// </summary>
        public string? RecordCorpuscle { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string? RecordBreed { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? Sex { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? RecordDate { get; set; }
        /// <summary>
        /// 月龄
        /// </summary>
        public int? AgeInMonths { get; set; }
        /// <summary>
        /// 生长阶段
        /// </summary>
        public int? Stage { get; set; }
        /// <summary>
        /// 栋舍外键
        /// </summary>
        public int CottageId { get; set; }
        /// <summary>
        /// 栏位外键
        /// </summary>
        public int FieldId { get; set; }
        /// <summary>
        /// 羊只类型 0种母 1种公 2后裔
        /// </summary>
        public int? RecordType { get; set; }
        /// <summary>
        /// 生产等级
        /// </summary>
        public int? ProductionGrade { get; set; }
        /// <summary>
        /// 基因等级
        /// </summary>
        public string? Gene { get; set; }
        /// <summary>
        /// 销售等级
        /// </summary>
        public int? SalesGrade { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public int? ReproductiveState { get; set; }
        /// <summary>
        /// 繁殖状态天数
        /// </summary>
        public int? ReproductiveStateDays { get; set; }
        /// <summary>
        /// 母亲耳号
        /// </summary>
        public string? RecordMother { get; set; }
        /// <summary>
        /// 父亲耳号
        /// </summary>
        public string? RecordFather { get; set; }
        /// <summary>
        /// 在场状态
        /// </summary>
        public int? PresenceStatus { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }

    }

}
